<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Work/workplaceIndex')}">作业场所</a></li>
		<li><a href="{:url('Work/workplaceAdd')}">添加作业场所</a></li></li>
        <li class="active"><a>编辑作业场所</a></li>
    </ul>
    <!--js-ajax-form-->
    <form class="form-horizontal  margin-top-20"
     action="{:url('Work/workplaceEditPost')}" method="post">
        <div class="form-group">
            <label for="input-workplaceName" class="col-sm-2 control-label">作业场所名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-workplaceName" name="workplaceName" value="{$data.workplaceName}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-departID" class="col-sm-2 control-label">所属单位</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-departID" name="departID" value="{$data.departID}">
            </div>
        </div>
		<div class="form-group">
            <label for="input-memos" class="col-sm-2 control-label">备注</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-memos" name="memos" value="{$data.memos}">
            </div>
        </div>
		


        <div class="form-group">
         	<div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="workplaceID" value="{$data.workplaceID}"/>
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" 
                href="{:url('admin/Work/workplaceIndex')}">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>